<?php
/**
 * 统一资源标志符
 */
$_URI = [
    // 请求类型接收变量
    'METHOD_VAR'    => [
        'GET'       => 'get'
        ,'POST'     => 'post'
        ,'PUT'      => 'post'
        ,'DELETE'   => 'post'
    ]
];

// GET 请求资源
$_URI['GET']    = file_exists(ROOT_PATH.'/Conf/Uri/get.php') ? require_once ROOT_PATH . '/Conf/Uri/get.php' : [];
// POST 请求资源
$_URI['POST']   = file_exists(ROOT_PATH.'/Conf/Uri/post.php') ? require_once ROOT_PATH . '/Conf/Uri/post.php' : [];
// PUT 请求资源
$_URI['PUT']    = file_exists(ROOT_PATH.'/Conf/Uri/put.php') ? require_once ROOT_PATH . '/Conf/Uri/put.php' : [];
// DELETE 请求资源
$_URI['DELETE'] = file_exists(ROOT_PATH.'/Conf/Uri/delete.php') ? require_once ROOT_PATH . '/Conf/Uri/delete.php' : [];

return $_URI;

